package com.jml;

import com.jml.api.member.MemberService;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;


@RestController
public class MemberServiceImpl implements MemberService {
    @Value("${server.port}")
    private String serverPort;


    public Map<Object, Object> getUser() {
        HashMap<Object, Object> result = new HashMap<Object, Object>();
        result.put("code", "200");
        result.put("msg", "zz666" + serverPort);
        return result;
    }
}
